17. Configure Task Dependencies

Configure Task Dependencies

Question:

Start Quiz:

Solution:

INSTRUCTOR NOTE:

TRICK QUESTION ALERT! Okay it wasn't a trick question when it was written. Gradle 3.3 introduced a change where only tasks that are assigned a group are displayed by default by gradle tasks, so if you're on 3.3 or later, there isn't an Other tasks section at all. On previous versions of Gradle, the tasks in the Other tasks section were those that weren't assigned a task group, but did depend on other tasks. In our case, those tasks are blackCoffee and sweetCoffee. Sorry for the confusion. Ain't making classes about living, changing software great? :P

The code for this exercise is in the 1.09-Exercise-ConfigureTaskDependencies folder.